//
//  ViewController.m
//  画圆
//
//  Created by boom on 2017/5/3.
//  Copyright © 2017年 boomLi. All rights reserved.
//

#import "ViewController.h"
#import "Circle.h"

@interface ViewController ()

@property (nonatomic, strong) Circle * andome;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    
    
    _andome = [[Circle alloc] initWithFrame:CGRectMake(30, 150, [UIScreen mainScreen].bounds.size.width-60, [UIScreen mainScreen].bounds.size.width-60)];
    _andome.backgroundColor = [UIColor clearColor];
    [self.view addSubview:_andome];
    
     [NSTimer scheduledTimerWithTimeInterval:0.4 target:self selector:@selector(clickAnimation) userInfo:nil repeats:YES];
}

-(void)clickAnimation{
    [UIView animateWithDuration:2 animations:^{
        _andome.la
    } completion:^(BOOL finished) {
        
    }];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
